package com.liuer.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {

    /**
     * 根据用户ID获取用户头像
     * @param userId
     * @return
     */
    @Select("select image from users where id = #{userId}")
    String getUImg(Integer userId);
}
